/**
 * Created by 黄忠园 on 2017/12/28.
 */
angular.module('service.wmoperationInfo.promotershop', [
        'ngResource',
        'ngCookies'
    ])
    .service('WmoperationInfoPromotershopService', WmoperationInfoPromotershopService);
WmoperationInfoPromotershopService.$inject = ['$resource'];
function WmoperationInfoPromotershopService($resource) {

    // 根据shopid查询信息
    this.getTeamId = function (shopid, success, error) {
        var resource = $resource(wmoperation_infourl + "promotershop/listbyshopid/:shopid");
        return resource.query({shopid: shopid, delstatus: 0}, success, error);
    }
}